#ifndef FILESCANNER_H
#define FILESCANNER_H

#include <QObject>
#include <QFileInfo>
#include <QList>
#include <QMap>

class FileScanner : public QObject
{
    Q_OBJECT
public:
    FileScanner(QObject *parent = 0);
    FileScanner(QString dir, QObject *parent = 0);
    
    QList<QList<QFileInfo> > scanFolder (QString dir);


private:
    //attributs
    QMap<QString,QList<QFileInfo> > mapFolderFiles;

    //méthodes
    void  scanDirRecursively (QString dir);

signals:
    
public slots:
    
};

#endif // FILESCANNER_H
